package com.vencent.spring.test;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.vencent.spring.bean.Person;
import com.vencent.spring.config.PersonConfig;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes=PersonConfig.class)
public class ApplicationContext {
	@Autowired
	private Person per;
	
	@Test
	public void playTest(){
		per.play();
	}
}
